package cn.hfatec.shms.web.yk.ykXmmx.dao;

import java.util.List;

import cn.hfatec.shms.web.yk.ykHsb.model.YkHsb;
import cn.hfatec.shms.web.yk.ykXmmx.model.YkXmmx;
import cn.hfatec.mybatis.mapper.SqlMapper;
import org.springframework.stereotype.Component;
import org.apache.ibatis.annotations.Param;

import cn.hfatec.shms.web.yk.ykXmmx.model.YkXmmxParams;

/**
 *
 * @author hfatec
 * @version 1.0
 *
 * the JAVA code is generate by middlegen
 *
 */
@Component("YkXmmxDao")
public interface YkXmmxDao extends SqlMapper {

    /**
     *
     * 查询数据
     *
    */
    public List queryYkXmmx(@Param("params") YkXmmxParams params);

    public List<YkXmmx> getYkXmmxHs(@Param("hsTime")String hsTime,@Param("hsEnd")String hsEnd);

    /**
     *
     * 根据主键获取数据
     *
     */
    public YkXmmx getYkXmmxById(Integer id);
     public YkXmmx getYkXmmxByDate();
    /**
     *
     * 插入数据
     *
     */
    public void insert(YkXmmx ykXmmx);

    /**
     *
     * 删除数据
     *
     */
    public void delete(Integer id);
    public void deleteHs(@Param("hsTime")String hsTime,@Param("hsEnd")String hsEnd);

    /**
     *
     * 更新数据
     *
     */
    public void update(YkXmmx ykXmmx);
}
